<template>
  <div>
    <!-- 弹出框2 -->
    <vol-box :lazy="true"
             v-model="model.box2"
             title="新建"
             :height="500"
             :width="800"
             :padding="15">
      <div>
       
      </div>
    </vol-box>
  </div>
</template>
<script>
import VolBox from "@/components/basic/VolBox.vue";
export default {
  components: { "vol-box": VolBox },
  methods: {
  },
  data () {
    return {
      model: {
        box1Text: "",
        box1: false,
        box1Text: "",
        box2: false,
        box3: false,
        box3Row: {}
      }
    }
  },
  methods: {
    getParent () {
      this.$emit("parentCall", $vue => {
        this.model.box1Text = JSON.stringify($vue.buttons);
      })
    },
    getTestData () {
      return "这里是获取到的子组件对象" + JSON.stringify(this.model);
    },
    //弹出框2
    open2 () {
      this.model.box2 = true;
    }
  }
};
</script>